package com.bitcola.security.applications.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "ag_admin_v1.p2p_order")

public class P2pOrder {

    @Id
    @Column(name = "id")
    String id;
    @Column(name = "time")

    Date time;
    @Column(name = "seller")

    String seller;
    @Column(name = "buyer")

    String buyer;
    @Column(name = "coin_code")

    String coinCode;
    @Column(name = "direction")

    String direction;
    @Column(name = "status")

    String status;
    @Column(name = "secret")

    String secret;
    @Column(name = "fee")

    BigDecimal fee;
    @Column(name = "amount")

    BigDecimal amount;
    @Column(name = "price")

    BigDecimal price;



}
